package com.tudouji.project.copy.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 参数对照对象 kdsynparamcomp
 * 
 * @author tudouji
 * @date 2021-01-21
 */
public class Kdsynparamcomp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 金蝶参数 */
    @Excel(name = "金蝶参数")
    private String kdParam;

    /** Erp参数 */
    @Excel(name = "Erp参数")
    private String erpParam;

    /** 参数默认值 */
    @Excel(name = "参数默认值")
    private String defaultValue;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private Integer type;

    /** 数据标识 */
    @Excel(name = "数据标识")
    private Integer flag;

    public Kdsynparamcomp() {
		super();
	}
    
	public Kdsynparamcomp(String businessType, Integer flag) {
		super();
		this.businessType = businessType;
		this.flag = flag;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setKdParam(String kdParam) 
    {
        this.kdParam = kdParam;
    }

    public String getKdParam() 
    {
        return kdParam;
    }
    public void setErpParam(String erpParam) 
    {
        this.erpParam = erpParam;
    }

    public String getErpParam() 
    {
        return erpParam;
    }
    public void setDefaultValue(String defaultValue) 
    {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() 
    {
        return defaultValue;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setFlag(Integer flag) 
    {
        this.flag = flag;
    }

    public Integer getFlag() 
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessType", getBusinessType())
            .append("kdParam", getKdParam())
            .append("erpParam", getErpParam())
            .append("defaultValue", getDefaultValue())
            .append("type", getType())
            .append("flag", getFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
